package com.intpro.demo.DAO;

import com.intpro.demo.Utils.MyAnnotations.AutoIncrement;
import java.io.Serializable;
import java.util.Date;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

@Document(collection = "message")
public class Message implements Serializable
{
	@Id
	@AutoIncrement(baseNum = 1)
	public long id;

	public long fromid;
	public long toid;
	public String title;
	public String msg;
	public Date createtime;

	public boolean hsread;
}
